<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/view/common/taglibs.jsp"%>
<html>
	<head>
		<title>释放单详情-金融风险管理系统</title>
		<script src="${contextPath}/scripts/jquery/jquery-1.8.3.min.js" type="text/javascript"></script>
        <link href="${contextPath}/styles/default.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript">
		function release_(id) {
			var searchForm = document.searchForm;
			searchForm.action = "<s:property value='contextPath'/>/cm/release.do?id="+id+"&search.releaseOnly="+id;
			searchForm.submit();
		}
		</script>
	</head>
	<body>
	<div class="navigation">
	    <span><a href="javascript:window.history.back();"><img src="${contextPath}/images/back_nav_btn.png" /></a>
	    <a href="javascript:window.history.back();">返回</a>
	    <a href="javascript:window.history.forward();"><img src="${contextPath}/images/go_nav_btn.png" /></a>
	     <a href="javascript:window.history.forward();">前进</a>
	    <a href="javascript:window.location.reload();"><img src="${contextPath}/images/refresh_nav_btn.png" /></a>
	     <a href="javascript:window.location.reload();">刷新</a>
	    </span>合格证管理&gt;&gt;补录&gt;&gt;详情
  	</div>
	<div class="xt_main_right_center">
	  <table width="100%" border="0" align="center">
	    <tr>
	      <td  class="left-td-width-bg" align="right">金融机构：</td>
	      <td>${entity.financial.name }</td>
	      <td class="left-td-width-bg"  align="right">店号：</td>
	      <td>${entity.shop.shopMark }</td>
	      <td  class="left-td-width-bg" align="right">订单号：</td>
	      <td>${entity.orderNumber }</td>
        </tr>
	    <tr>
	      <td class="left-td-width-bg"  align="right">渠道：</td>
	      <td>
	      	${entity.brand.name }</td>
	      <td class="left-td-width-bg"  align="right">店名：</td>
	      <td>${entity.shop.shopName }</td>
	      <td  class="left-td-width-bg" align="right">发动机号：</td>
	      <td>${entity.engine }</td>
        </tr>
	    <tr>
	      <td  class="left-td-width-bg" align="right">合格证号：</td>
	      <td>${entity.certificationNum }</td>
	      <td  class="left-td-width-bg" align="right">汇票号：</td>
	      <td>${entity.draft }</td>
	      <td class="left-td-width-bg"  align="right">出门日：</td>
	      <td align="center"><s:date name="entity.goingOutDate" format="yyyy-MM-dd"/></td>
        </tr>
	    <tr>
	      <td  class="left-td-width-bg" align="right">车架号：</td>
	      <td>${entity.chassis }</td>
	      <td class="left-td-width-bg"  align="right">汇票起始日：</td>
	      <td align="center"><s:date name="entity.draftBeginDate" format="yyyy-MM-dd"/></td>
	      <td  class="left-td-width-bg" align="right">预定到店日：</td>
	      <td align="center"><s:date name="entity.scheduledDate" format="yyyy-MM-dd"/></td>
        </tr>
	    <tr>
	      <td  class="left-td-width-bg" align="right">车型：</td>
	      <td><s:date name="entity.motorcycleType" format="yyyy-MM-dd"/></td>
	      <td class="left-td-width-bg"  align="right">汇票到期日：</td>
	      <td align="center"><s:date name="entity.draftEndDate" format="yyyy-MM-dd"/></td>
	      <td class="left-td-width-bg"  align="right">供货价：</td>
	      <td align="right"><s:property value="formatAmount(entity.supplyPrice)"/></td>
        </tr>
      </table>
   </div>
<div class="xt_main_right_center">
<table width="100%" height="59" border="0" align="center" cellpadding="1" cellspacing="1">
  <tr>
    <td width="168">补录人：${entity.creator }</td>
    <td>补录时间：<s:date name="entity.buluDate" format="yyyy-MM-dd"/></td>
    </tr>
</table>
</div>
	<br/>
  	<!-- 审核记录开始 -->
<s:if test="workflow!=null&&workflow.operates!=null">
		<br/>
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
		  <tr>
		    <td height="25" align="left"><font color="#0066CC"><strong>流程操作记录：</strong></font></td>
		    <td height="25" align="right">
		    </td>
		  </tr>
		</table> 
		<table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#CCCCCC">
		  <tr> 
		    <td width="3%" class="top-td-width-bg">序号</td>
		    <td width="20%" class="top-td-width-bg">操作人</td>
		    <td width="20%" class="top-td-width-bg">操作类型</td>
		    <td width="40%" class="top-td-width-bg">描述</td>
		    <td width="17%" class="top-td-width-bg">操作时间</td>
		  </tr>
		 <s:iterator value="workflow.operates" status="stx" >
			<tr height="26" align="center" bgcolor="#FFFFFF" onmousemove="javascript:this.bgColor='#FCFDEE';" onmouseout="javascript:this.bgColor='#FFFFFF';"> 
			 	<td align="center"><s:property value="#stx.index+1"/></td>
			    <td align="center"><s:property value="operater.realName"/></td>
			    <td align="center"><s:property value="type.name"/></td>
			    <td align="center"><s:property value="description"/></td>
			    <td align="center"><s:property value="operateDate"/></td>
			</tr>
		</s:iterator>
		</table>
		<br/>
	</s:if>
	</body>
</html>